package com.eascs.web.o2o.quartz.util;

import javax.inject.Inject;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
public class InitEaSchedulerBean implements InitializingBean {

	@Inject
	QuartzManager quartzManager;
	
	@Override
	public void afterPropertiesSet() throws Exception {
		quartzManager.reScheduleJob();//定时任务入口
	}
}
